package com.banana.manager.forest.service.iuser;

import com.banana.manager.forest.entity.user.UserBean;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IUserService {

    UserBean userLogin(String username, String password);

    UserBean addUser(UserBean userBean);

    void deleteUserById(Integer id);

    UserBean updateUser(UserBean userBean);

    PageInfo<UserBean> selectUserByPage(Integer page, String role);

    UserBean findById(Integer id);

}
